home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / mail / delivery / smail-3.001 / smail-3~ / smail-3.1.29.1 / NOTES / SMART-HOST < prev   
Text File  |  1994-10-18  |  3KB  |  73 lines

  1. $Id: SMART-HOST,v 1.1 1994/10/18 08:41:19 nm4 Exp $
  2.  
  3. To: gst@gnosys.svle.ma.us (Gary S. Trujillo)
  4. Subject: Re: Smail3 problems
  5. Reply-To: tron@veritas.com
  6. Organization: VERITAS Software Corp.
  7.  
  8. >I wasn't sure where to put the "paths" file, since I still don't understand
  9. >some very basic things.  By the way, thanks very much for the new "Instal-
  10. >lation and Administration Guide."  It helps me to understand more than I was
  11. >able to get out of the previous set of documents, but it still doesn't give
  12. >definitions of basic terms, like "router" "transport" and "director."  Are
  13. >these standard terms?  Is there a book or something that will give me a basic
  14. >understanding of what these terms mean in the sense in which you're using them?
  15.  
  16. Basic definitions:
  17.  
  18. router:    a rule (based on a router driver, which is a set of C functions,
  19.     that implement a class of routers) for matching hostnames and
  20.     determining which transport to use for delivering to that host.
  21.  
  22. director: a rule (based on a director driver) which takes a local
  23.     address and transforms into a set of new addresses (e.g.,
  24.     alias exansion) or that assigns it to a transport for delivery
  25.     (e.g., delivery to local users).
  26.  
  27. transport: a rule (based on a transport driver) defining how to deliver
  28.     a message to an address that was matched by a router or a
  29.     director.
  30.  
  31. >I think I about have things set up properly now, but I can't seem to configure
  32. >the smarthost router properly.  I attempted to follow the instructions I found
  33. >in src/conf.h, but it appears from the output I get from test runs that smail
  34. >is attempting to find a pathalias file:
  35.  
  36. Smail looks for paths files by default.  However, also by default, if
  37. it doesn't find a paths file, it ignores it rather than failing.  The
  38. exact filenames depend upon the PATHS_PROTO that you set in your EDITME
  39. file.  The default, bsearch, will look for a file called:
  40.  
  41.     /usr/lib/smail/paths.sort
  42.  
  43. which contains a sorted list of lines of the form:
  44.  
  45.     host    path!%s
  46.  
  47. or:
  48.  
  49.     .domain    path!%s
  50.  
  51. such files can be generated from the map data sent out through the
  52. newsgroup comp.mail.maps.  They can also be generated by hand.  Small
  53. paths files generated by hand can be quite useful for describing local
  54. connectivity information.
  55.  
  56. The smarthost router is configured in by default, and can be enabled
  57. by creating a file /usr/lib/smail/config containing a line such as:
  58.  
  59.     smart_path=uunet
  60.  
  61. The value for the smart_path parameter is a !-separated list of
  62. hostnames defining the path through which all mail to otherwise
  63. unrecognized hostnames will be sent.
  64.  
  65. Typically, all you should need to configure, if you wish to use defaults
  66. for most everything, is your domain name, your os type, and the
  67. smart_path value in your config file.  The default configuration does
  68. allow you to create additional files, but if those files don't exist,
  69. they are ignored.
  70. -- 
  71.     tron |-<=>-|        ARPAnet:  veritas!tron@apple.com
  72.       tron@veritas.com        UUCPnet:  {apple,pyramid}!veritas!tron
  73.